package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.StatementItem;
import cn.wolfcode.car.business.query.StatementItemQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

public interface IStatementItemService {
    /**
     * 分页
     * @param statementId
     * @param qo
     * @return
     */
    TablePageInfo<StatementItem> query(Long statementId, StatementItemQuery qo);

    /**
     * 保存服务结算单明细及结算单总金额、总服务数量、折扣金额
     * @param statementId
     * @param qo
     */
    void saveItems(Long statementId, StatementItemQuery qo);
}
